import {DurationUnit} from 'sentry/utils/discover/fields';
import type {TimeSeries} from 'sentry/views/dashboards/widgets/common/types';

export const sampleDurationTimeSeries: TimeSeries = {
  yAxis: 'p99(span.duration)',
  meta: {
    valueType: 'duration',
    valueUnit: DurationUnit.MILLISECOND,
    interval: 1_800_000, // 30 minutes
  },
  values: [
    {
      value: 163.26759544018776,
      timestamp: 1729796400000, // '2024-10-24T15:00:00-04:00'
    },
    {
      value: 164.07690380778297,
      timestamp: 1729798200000, // '2024-10-24T15:30:00-04:00'
    },
    {
      value: 163.99383844776062,
      timestamp: 1729800000000, // '2024-10-24T16:00:00-04:00'
    },
    {
      value: 173.63336816976206,
      timestamp: 1729801800000, // '2024-10-24T16:30:00-04:00'
    },
    {
      value: 175.3677834806518,
      timestamp: 1729803600000, // '2024-10-24T17:00:00-04:00'
    },
    {
      value: 170.97728899915776,
      timestamp: 1729805400000, // '2024-10-24T17:30:00-04:00'
    },
    {
      value: 157.01612877746825,
      timestamp: 1729807200000, // '2024-10-24T18:00:00-04:00'
    },
    {
      value: 170.16561857179315,
      timestamp: 1729809000000, // '2024-10-24T18:30:00-04:00'
    },
    {
      value: 160.16955120038932,
      timestamp: 1729810800000, // '2024-10-24T19:00:00-04:00'
    },
    {
      value: 169.36653636105817,
      timestamp: 1729812600000, // '2024-10-24T19:30:00-04:00'
    },
    {
      value: 158.14689668805912,
      timestamp: 1729814400000, // '2024-10-24T20:00:00-04:00'
    },
    {
      value: 169.15717966126346,
      timestamp: 1729816200000, // '2024-10-24T20:30:00-04:00'
    },
    {
      value: 159.93437627752522,
      timestamp: 1729818000000, // '2024-10-24T21:00:00-04:00'
    },
    {
      value: 181.2808339108854,
      timestamp: 1729819800000, // '2024-10-24T21:30:00-04:00'
    },
    {
      value: 174.5653311041271,
      timestamp: 1729821600000, // '2024-10-24T22:00:00-04:00'
    },
    {
      value: 183.84079875522747,
      timestamp: 1729823400000, // '2024-10-24T22:30:00-04:00'
    },
    {
      value: 167.7772694683986,
      timestamp: 1729825200000, // '2024-10-24T23:00:00-04:00'
    },
    {
      value: 183.82398422937058,
      timestamp: 1729827000000, // '2024-10-24T23:30:00-04:00'
    },
    {
      value: 184.52864336855654,
      timestamp: 1729828800000, // '2024-10-25T00:00:00-04:00'
    },
    {
      value: 193.65015582927347,
      timestamp: 1729830600000, // '2024-10-25T00:30:00-04:00'
    },
    {
      value: 178.46847533061455,
      timestamp: 1729832400000, // '2024-10-25T01:00:00-04:00'
    },
    {
      value: 200.36778566817904,
      timestamp: 1729834200000, // '2024-10-25T01:30:00-04:00'
    },
    {
      value: 190.90359955365727,
      timestamp: 1729836000000, // '2024-10-25T02:00:00-04:00'
    },
    {
      value: 198.59051116263905,
      timestamp: 1729837800000, // '2024-10-25T02:30:00-04:00'
    },
    {
      value: 188.65220261321352,
      timestamp: 1729839600000, // '2024-10-25T03:00:00-04:00'
    },
    {
      value: 194.43420903582333,
      timestamp: 1729841400000, // '2024-10-25T03:30:00-04:00'
    },
    {
      value: 197.647787580193,
      timestamp: 1729843200000, // '2024-10-25T04:00:00-04:00'
    },
    {
      value: 190.58833865087888,
      timestamp: 1729845000000, // '2024-10-25T04:30:00-04:00'
    },
    {
      value: 178.91675989347792,
      timestamp: 1729846800000, // '2024-10-25T05:00:00-04:00'
    },
    {
      value: 190.0340975630367,
      timestamp: 1729848600000, // '2024-10-25T05:30:00-04:00'
    },
    {
      value: 187.38906820511914,
      timestamp: 1729850400000, // '2024-10-25T06:00:00-04:00'
    },
    {
      value: 189.56698436333198,
      timestamp: 1729852200000, // '2024-10-25T06:30:00-04:00'
    },
    {
      value: 190.05121671101094,
      timestamp: 1729854000000, // '2024-10-25T07:00:00-04:00'
    },
    {
      value: 190.17890269231188,
      timestamp: 1729855800000, // '2024-10-25T07:30:00-04:00'
    },
    {
      value: 185.79800462057017,
      timestamp: 1729857600000, // '2024-10-25T08:00:00-04:00'
    },
    {
      value: 189.58731836412431,
      timestamp: 1729859400000, // '2024-10-25T08:30:00-04:00'
    },
    {
      value: 194.0240027791402,
      timestamp: 1729861200000, // '2024-10-25T09:00:00-04:00'
    },
    {
      value: 194.36826153553162,
      timestamp: 1729863000000, // '2024-10-25T09:30:00-04:00'
    },
    {
      value: 188.280130395783,
      timestamp: 1729864800000, // '2024-10-25T10:00:00-04:00'
    },
    {
      value: 189.78493654183256,
      timestamp: 1729866600000, // '2024-10-25T10:30:00-04:00'
    },
    {
      value: 194.27624664281058,
      timestamp: 1729868400000, // '2024-10-25T11:00:00-04:00'
    },
    {
      value: 179.5612344192774,
      timestamp: 1729870200000, // '2024-10-25T11:30:00-04:00'
    },
    {
      value: 172.61016559821348,
      timestamp: 1729872000000, // '2024-10-25T12:00:00-04:00'
    },
    {
      value: 186.46779136621416,
      timestamp: 1729873800000, // '2024-10-25T12:30:00-04:00'
    },
    {
      value: 171.43180664489284,
      timestamp: 1729875600000, // '2024-10-25T13:00:00-04:00'
    },
    {
      value: 174.50192368733187,
      timestamp: 1729877400000, // '2024-10-25T13:30:00-04:00'
    },
    {
      value: 164.72702271761602,
      timestamp: 1729879200000, // '2024-10-25T14:00:00-04:00'
      incomplete: true,
    },
    {
      value: 172.11837107180162,
      timestamp: 1729881000000, // '2024-10-25T14:30:00-04:00'
      incomplete: true,
    },
    {
      value: 185.64485387569914,
      timestamp: 1729882800000, // '2024-10-25T15:00:00-04:00'
      incomplete: true,
    },
  ],
};
